package yx.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * 系统设置里面的 短信配置部分
 */
@Entity
@Table(name = "sm_sms", catalog = "")
public class SmSms implements java.io.Serializable {

	// Fields

	/**
     * 
     */
    private static final long serialVersionUID = 7680356446327514960L;
    private Integer id;  //主键
	private String sdk;  //SDK
	private String password;  //密码
	private String sign;  //签名

	// Constructors

	/** default constructor */
	public SmSms() {
	}

	/** full constructor */
	public SmSms(String sdk, String password, String sign) {
		this.sdk = sdk;
		this.password = password;
		this.sign = sign;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "SDK", length = 32)
    public String getSdk()
    {
        return sdk;
    }

    public void setSdk(String sdk)
    {
        this.sdk = sdk;
    }
    @Column(name = "PASSWORD", length = 100)
    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }
    @Column(name = "SIGN", length = 100)
    public String getSign()
    {
        return sign;
    }

    public void setSign(String sign)
    {
        this.sign = sign;
    }

	
	

}